* eglot.el (eglot--sig-info): Protect against invalid label.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/121
params-end t)
(list (match-beginning 0) (match-end 0))))
(mapcar #'1+ (append label nil)))))
- (add-face-text-property
- beg end
- 'eldoc-highlight-function-argument)))
+ (if (and beg end)
+ (add-face-text-property
+ beg end
+ 'eldoc-highlight-function-argument))))
;; ...and/or maybe add its doc on a line by its own.
(when documentation
(goto-char (point-max))